<div class="left">
    <div class="title">Sign In</div>
    <div class="box-sign">
	<?php
	$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	    'id' => 'login-form',
	    'enableAjaxValidation' => true,
	    'type' => 'horizontal',
	    'clientOptions' => array(
		'validateOnSubmit' => true,
	    ),
	));
	?>

        <p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->textFieldRow($model, 'username'); ?>

	<?php echo $form->error($model, 'username') ?>

	<?php echo $form->passwordFieldRow($model, 'password'); ?>

	<?php echo $form->error($model, 'password') ?>

	<?php echo $form->checkBoxRow($model, 'rememberMe'); ?>

        <div class="control-group">
            <label class="control-label">

            </label>
            <div class="controls">
                Forgot your password? Click <a href="<?php echo url('/user/forgot') ?>">here</a> to recovery password
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">

            </label>
            <div class="controls">
                <input type="submit" value="Login" class="btn btn-warning" />
            </div>
        </div>

	<?php $this->endWidget(); ?>
    </div>

</div><!--left-->
<div class="right">


    <div class="box-right">
        <div class="title">New to Postmyequipment?</div>
        <div class="text-box">
            Let's get your account set up - it's free and easy!<br /><br />
            <a href="<?php echo url('/user/register') ?>" class="btn btn-primary">Register</a>
        </div>

    </div><!--box-right-->
</div><!--right-->